package ooday02;

public class SuperDemo {
    public static void main(String[] args) {
        Boo b = new Boo();
    }
}


class Aoo{
    Aoo(){
        System.out.println("A");
    }
}

class Boo extends Aoo{
    Boo(){
        System.out.println("B");
    }
}

class Coo{
    Coo(int a){
        System.out.println(a);
    }
}
class Doo extends Coo{
    Doo(){
        super(5);
        System.out.println("2");
    }
}
